package jplat.tools.config;

import jplat.tools.string.XLog;

/**
 * 父类基础类.
 * @author zhangcq
 * @date Jan 5, 2017
 * @comment
 */
public class JSystemConfig extends JBasePropertiesReader
{
	private static String[] confs = {"conf/system/sys_base","conf/system/sys_env"};
	
	private JSystemConfig()
	{
		super(confs);
		for ( int i = 0; i < confs.length; ++i )
		{
			XLog.loginit("JSystemConfig load success,path="+confs[i]);
		}
	}
	
	private static final class Holer
	{
		private static final JSystemConfig config = new JSystemConfig();
	}
	
	public static JSystemConfig getInstance()
	{
		return Holer.config;
	}
}
